package com.project.dto;

import java.io.Serializable;
import java.sql.Date;

//CREATE table "MEMBER" (
//	    "EMAIL"      VARCHAR2(100) NOT NULL,
//	    "PASSWORD"   VARCHAR2(100) NOT NULL,
//	    "NAME"       VARCHAR2(50) NOT NULL,
//	    "SEX"        VARCHAR2(4) NOT NULL,
//	    "BIRTH"      DATE NOT NULL,
//	    "REGION"     VARCHAR2(100),
//	    "BLOOD"      VARCHAR2(4),
//	    "HIGHSCHOOL" VARCHAR2(30),
//	    "UNIVERSITY" VARCHAR2(50),
//	    "JOB"        VARCHAR2(100),
//	    "RELIGION"   VARCHAR2(100),
//	    "INTEREST"   VARCHAR2(100),
//	    "MESSENGER"  VARCHAR2(100),
//	    "PHOTO"      VARCHAR2(100),
//	    "PHONE"      NUMBER,
//	    "CONNECTION" VARCHAR2(2),
//	    constraint  "MEMBER_PK" primary key ("EMAIL")
//	)

public class TPeopleDto implements Serializable {
	private String email;
	private String password;
	private String name;
	private String sex;
	private Date birth;
	private String region;
	private String blood;
	private String highschool;
	private String university;
	private String job;
	private String religion;
	private String interest;
	private String messenger;
	private String photo;
	private String connection;
	private static final long serialVersionUID = -5627237701656322410L;
	
	public TPeopleDto() {
		super();
	}
	
	public TPeopleDto(String email, String password, String name, String sex,
			Date birth) {
		super();
		this.email = email;
		this.password = password;
		this.name = name;
		this.sex = sex;
		this.birth = birth;
	}

	public TPeopleDto(String email, String password, String name, String sex,
			Date birth, String region, String blood, String highschool,
			String university, String job, String religion, String interest,
			String messenger, String photo, String connection) {
		super();
		this.email = email;
		this.password = password;
		this.name = name;
		this.sex = sex;
		this.birth = birth;
		this.region = region;
		this.blood = blood;
		this.highschool = highschool;
		this.university = university;
		this.job = job;
		this.religion = religion;
		this.interest = interest;
		this.messenger = messenger;
		this.photo = photo;
		this.connection = connection;
	}
	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public String getBlood() {
		return blood;
	}

	public void setBlood(String blood) {
		this.blood = blood;
	}

	public String getHighschool() {
		return highschool;
	}

	public void setHighschool(String highschool) {
		this.highschool = highschool;
	}

	public String getUniversity() {
		return university;
	}

	public void setUniversity(String university) {
		this.university = university;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getReligion() {
		return religion;
	}

	public void setReligion(String religion) {
		this.religion = religion;
	}

	public String getInterest() {
		return interest;
	}

	public void setInterest(String interest) {
		this.interest = interest;
	}

	public String getMessenger() {
		return messenger;
	}

	public void setMessenger(String messenger) {
		this.messenger = messenger;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getConnection() {
		return connection;
	}

	public void setConnection(String connection) {
		this.connection = connection;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "TPeopleDto [email=" + email + ", password=" + password
				+ ", name=" + name + ", sex=" + sex + ", birth=" + birth
				+ ", region=" + region + ", blood=" + blood + ", highschool="
				+ highschool + ", university=" + university + ", job=" + job
				+ ", religion=" + religion + ", interest=" + interest
				+ ", messenger=" + messenger + ", photo=" + photo
				+ ", connection=" + connection + "]";
	}
}
